<?php
/**
 * Created by PhpStorm.
 * User: long
 * Date: 2020/5/2
 * Time: 12:07 PM
 */

namespace App\Transformers;


use League\Fractal\TransformerAbstract;

/**
 * 基础转化器
 * Class BaseTransformer
 * @package App\Transformers
 */
abstract class BaseTransformer extends TransformerAbstract
{
    abstract function transform($data) : array;
}
